package com.letoken.platform.repo.app.req.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author letokenlabs
 * @date 2022/11/24$
 */
@Data
@ApiModel(value = "用户闪兑请求对象", description = "用户闪兑请求对象")
public class AppUserSwapReq {

    @ApiModelProperty(name = "fromType", value = "闪兑源代币类型（USDT或LET）", required = true, example = "USDT")
    @NotBlank(message = "80201003")
    private String fromType;


    @ApiModelProperty(name = "fromAmount", value = "闪兑源代币数量", required = true, example = "1000")
    @NotBlank(message = "80201003")
    private BigDecimal fromAmount;






}
